package boogui.seat;

import java.awt.BorderLayout;
import java.awt.Button;
import java.awt.Checkbox;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import java.awt.FlowLayout;
import javax.swing.JButton;
import javax.swing.BoxLayout;
import javax.swing.JCheckBox;
import java.awt.GridLayout;
import javax.swing.JLabel;
import java.awt.Font;

public class MemberSeat2 extends JFrame {

	private JPanel contentPane;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					MemberSeat2 frame = new MemberSeat2();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public MemberSeat2() {
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 1100, 800);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		contentPane.setLayout(new BorderLayout(70, 0));
		setContentPane(contentPane);
		
		JPanel panel = new JPanel();
		contentPane.add(panel, BorderLayout.NORTH);
		
		JLabel lblScreen = new JLabel("Screen");
		lblScreen.setFont(new Font("굴림", Font.PLAIN, 30));
		panel.add(lblScreen);
		
		JPanel panel_1 = new JPanel();
		contentPane.add(panel_1, BorderLayout.WEST);
		panel_1.setLayout(new GridLayout(10, 5, 5, 5));
		for(int i = 1; i <= 5; i++){
			panel_1.add(new Checkbox("A" + i));
		}
		for(int i = 1; i <= 5; i++){
			panel_1.add(new Checkbox("B" + i));
		}
		for(int i = 1; i <= 5; i++){
			panel_1.add(new Checkbox("C" + i));
		}
		for(int i = 1; i <= 5; i++){
			panel_1.add(new Checkbox("D" + i));
		}
		for(int i = 1; i <= 5; i++){
			panel_1.add(new Checkbox("E" + i));
		}
		for(int i = 1; i <= 5; i++){
			panel_1.add(new Checkbox("F" + i));
		}
		for(int i = 1; i <= 5; i++){
			panel_1.add(new Checkbox("G" + i));
		}
		for(int i = 1; i <= 5; i++){
			panel_1.add(new Checkbox("H" + i));
		}
		for(int i = 1; i <= 5; i++){
			panel_1.add(new Checkbox("I" + i));
		}
		for(int i = 1; i <= 5; i++){
			panel_1.add(new Checkbox("J" + i));
		}
		
		JPanel panel_2 = new JPanel();
		contentPane.add(panel_2, BorderLayout.CENTER);
		panel_2.setLayout(new GridLayout(10, 10, 5, 5));
		for(int i = 6; i <= 15; i++){
			panel_2.add(new Checkbox("A" + i));
		}
		for(int i = 6; i <= 15; i++){
			panel_2.add(new Checkbox("B" + i));
		}
		for(int i = 6; i <= 15; i++){
			panel_2.add(new Checkbox("C" + i));
		}
		for(int i = 6; i <= 15; i++){
			panel_2.add(new Checkbox("D" + i));
		}
		for(int i = 6; i <= 15; i++){
			panel_2.add(new Checkbox("E" + i));
		}
		for(int i = 6; i <= 15; i++){
			panel_2.add(new Checkbox("F" + i));
		}
		for(int i = 6; i <= 15; i++){
			panel_2.add(new Checkbox("G" + i));
		}
		for(int i = 6; i <= 15; i++){
			panel_2.add(new Checkbox("H" + i));
		}
		for(int i = 6; i <= 15; i++){
			panel_2.add(new Checkbox("I" + i));
		}
		for(int i = 6; i <= 15; i++){
			panel_2.add(new Checkbox("J" + i));
		}
		JPanel panel_3 = new JPanel();
		contentPane.add(panel_3, BorderLayout.EAST);
		panel_3.setLayout(new GridLayout(10, 5, 5, 5));
		for(int i = 16; i <= 20; i++){
			panel_3.add(new Checkbox("A" + i));
		}
		for(int i = 16; i <= 20; i++){
			panel_3.add(new Checkbox("B" + i));
		}
		for(int i = 16; i <= 20; i++){
			panel_3.add(new Checkbox("C" + i));
		}
		for(int i = 16; i <= 20; i++){
			panel_3.add(new Checkbox("D" + i));
		}
		for(int i = 16; i <= 20; i++){
			panel_3.add(new Checkbox("E" + i));
		}
		for(int i = 16; i <= 20; i++){
			panel_3.add(new Checkbox("F" + i));
		}
		for(int i = 16; i <= 20; i++){
			panel_3.add(new Checkbox("G" + i));
		}
		for(int i = 16; i <= 20; i++){
			panel_3.add(new Checkbox("H" + i));
		}
		for(int i = 16; i <= 20; i++){
			panel_3.add(new Checkbox("I" + i));
		}
		for(int i = 16; i <= 20; i++){
			panel_3.add(new Checkbox("J" + i));
		}
		JPanel panel_4 = new JPanel();
		contentPane.add(panel_4, BorderLayout.SOUTH);
		
		JLabel label = new JLabel("영화 영사기");
		label.setFont(new Font("굴림", Font.PLAIN, 24));
		panel_4.add(label);
		
	}

}
